package com.spr.service.impl;

import com.spr.mapper.SprDevicePushRecordMapper;
import com.spr.service.SprDevicePushRecordService;
import com.spr.vo.SprDevicePushRecordVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class SprDevicePushRecordServiceImpl implements SprDevicePushRecordService {
    @Autowired
    private SprDevicePushRecordMapper sprDevicePushRecordMapper;

    @Override
    public List<SprDevicePushRecordVO> getRealTimeStatus() {
        List<SprDevicePushRecordVO> sprDevicePushRecordVOS= sprDevicePushRecordMapper.getRealTimeStatus();
        return sprDevicePushRecordVOS;
    }

    @Override
    public List<SprDevicePushRecordVO> getOperationNumber() {
        List<SprDevicePushRecordVO> sprDevicePushRecordVOS= sprDevicePushRecordMapper.getOperationNumber();
        return sprDevicePushRecordVOS;
    }

    @Override
    public List<SprDevicePushRecordVO> getDevicePushRecord() {
        List<SprDevicePushRecordVO> sprDevicePushRecordVOS= sprDevicePushRecordMapper.getDevicePushRecord();
        return sprDevicePushRecordVOS;
    }
}
